<template>
  <div class="son2">
    <button @click="send">发送</button>
  </div>
</template>

<script>
export default {
    methods: {
        send(){
            this.$bus.$emit('sendNum',Date.now())
        }
    },
}
</script>

<style lang="scss" scoped>
.son2 {
  width: 200px;
  height: 200px;
  border: 2px solid red;
}
</style>
